var express = require('express');
var   router   = express.Router();
const dataCtrl = require('../controllers/users.controller')


/* GET home page. */
router.post('/', dataCtrl.create);
router.put('/:id', dataCtrl.updata);
router.get('/:id', dataCtrl.get);
router.delete('/:id', dataCtrl.remove);
router.post('/list', dataCtrl.list);
router.post('/removes', dataCtrl.removes);

module.exports = router;
